package com.ZeroCarbon.service;

import com.ZeroCarbon.domain.po.UserBaseInfo;
import com.ZeroCarbon.exception.BusinessLogicException;
import com.baomidou.mybatisplus.extension.service.IService;

public interface IBaseInfoService extends IService<UserBaseInfo> {
    void saveBaseInfo(UserBaseInfo userBaseInfo) throws BusinessLogicException;

    UserBaseInfo getBaseInfo(String userId) throws BusinessLogicException;

    void updateUser(UserBaseInfo userBaseInfo) throws BusinessLogicException;

    String getUsername(String userId) throws BusinessLogicException;
}
